<template>
  <div>
    <h1>最佳实践 - jump(跳转)</h1>
    <el-button @click="$utils.jump">
      jump
    </el-button>
    <el-button @click="$utils.jump()">
      jump()
    </el-button>
    <el-button @click="$utils.jump(-1)">
      jump(-1)
    </el-button>
    <el-button @click="$utils.jump('/user/info')">
      jump('/user/info')
    </el-button>
    <el-button @click="$utils.jump('https://www.baidu.com')">
      jump('https://www.baidu.com')
    </el-button>
    <el-button @click="$utils.jump('https://ftp.faig.top/public/file/jsPDF.pdf')">
      jump('https://ftp.faig.top/public/file/jsPDF.pdf')
    </el-button>
    <hr>
    <el-button @click="$utils.jump('/user/info', true)">
      新开 - jump('/user/info')
    </el-button>
    <el-button @click="$utils.jump('https://www.baidu.com', true)">
      新开 - jump('https://www.baidu.com')
    </el-button>
    <el-button @click="$utils.jump('https://ftp.faig.top/public/file/jsPDF.pdf', true)">
      新开 - jump('https://ftp.faig.top/public/file/jsPDF.pdf')
    </el-button>
  </div>
</template>
